from rest_framework import serializers, viewsets
from Interview.models import AnswerAnalysis, Question, Interview, Report


class AnswerAnalysisSerializer(serializers.ModelSerializer):
    class Meta:
        model = AnswerAnalysis
        fields = ['interview_id', 'answer_id', 'modality_type', 'metrics']


class QuestionSerializer(serializers.ModelSerializer):
    class Meta:
        model = Question
        fields = '__all__'


class InterviewSerializer(serializers.ModelSerializer):
    class Meta:
        model = Interview
        fields = '__all__'


class ReportSerializer(serializers.ModelSerializer):
    class Meta:
        model = Report
        fields = '__all__'
